#include "PictureCache.h"

/**
Constructeur
*/
PictureCache::PictureCache(void)
{
}

/**
Descructeur
*/
PictureCache::~PictureCache(void)
{
}

/**
Recherche une image sur le WebService d'Amazon
*/
Gdiplus::Image* PictureCache::get(File* pFile)
{
	std::wstring title = pFile->getTag( "TITLE" );
	std::wstring artist = pFile->getTag( "ARTIST" );

	BSTR url = _amazon.search( artist, title );
	//_amazon.download( url, 
	return NULL;
}